package com.xiaohai.projo.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * ClassName:Teacher
 * Package:IntelliJ IDEA
 * Description:
 * Author 何诗海
 *
 * @Create 2024/4/11 16:46
 * @Version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ETeacher {
    /**
     * 名字
     */
    @ExcelProperty("姓名")
    private String name;

    /**
     * 年龄
     */
    @ExcelProperty("年龄")
    private Integer age;

    /**
     * 电话
     */
    @ExcelProperty("手机号")
    private String phone;

    /**
     * 邮箱
     */
    @ExcelProperty("邮箱")
    private String email;

    @ExcelProperty("性别")
    private String sex;
    /**
     * 1:男，0:女
     */
    private Integer gender;
}
